//
//  MyEmptyView.h
//
//  Copyright © 2019 Dean. All rights reserved.
//

#import "LYEmptyView.h"
#import "UIView+Empty.h"
//self.tableView.ly_emptyView = [MyEmptyView diyNoDataEmpty]

@interface MyEmptyView : LYEmptyView
+ (instancetype)diyNoDataNetWorkEmpty;
+ (instancetype)diyNoDataOrderEmpty;
+ (instancetype)diyNoDataOrderEmptyDetail:(NSString*)detail;
+ (instancetype)diyNoDataOrderEmptyDetail:(NSString*)detail imageStr:(NSString*)imageStr;

+ (MyEmptyView *)emptyWithContentViewDetailStr:(NSString*)detailStri
                                      imageStr:(NSString*)imageStr
                                     btnString:(NSString *)btnString
                                 btnClickBlock:(LYActionTapBlock)btnClickBlock
                                 configerBlock:(void (^)(MyEmptyView *configer))configerBlock;;


/// 纯文字 没有默认图片
+ (MyEmptyView *)emptyWithContentViewDetailStr:(NSString*)detailStri
                        configerBlock:(void (^)(MyEmptyView *configer))configerBlock;

+ (MyEmptyView *)emptyWithContentViewDetailStr:(NSString*)detailStri
                             imageStr:(NSString*)imageStr
                                 btnClickBlock:(LYActionTapBlock)btnClickBlock
                        configerBlock:(void (^)(MyEmptyView *configer))configerBlock;;

+ (MyEmptyView *)emptyWithContentView:(UIScrollView *)contentView
                               title:(NSString*)title
                             imageStr:(NSString*)imageStr
                                   configerBlock:(void (^)(MyEmptyView *configer))configerBlock;

+(MyEmptyView *)diyCustomEmptyView:(NSString *)hint;

+ (instancetype)diyNoNetworkEmptyWithTarget:(id)target action:(SEL)action;
+ (instancetype)diyCustomEmptyViewWithTarget:(id)target action:(SEL)action;

@end

